package com.efast.dmom.mgmt.service.mes.impl;
import java.util.List;

import com.efast.dmom.mgmt.dao.mes.TmBasTestDefinitionDao;
import com.efast.dmom.mgmt.entity.mes.TmBasTestDefinition;
import com.efast.dmom.mgmt.service.mes.TmBasTestDefinitionService;
import com.efast.dmom.mgmt.utils.Assist;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class TmBasTestDefinitionServiceImpl implements TmBasTestDefinitionService{
    @Autowired
    private TmBasTestDefinitionDao tmBasTestDefinitionDao;
    @Override
    public long getTmBasTestDefinitionRowCount(Assist assist){
        return tmBasTestDefinitionDao.getTmBasTestDefinitionRowCount(assist);
    }
    @Override
    public List<TmBasTestDefinition> selectTmBasTestDefinition(Assist assist){
        return tmBasTestDefinitionDao.selectTmBasTestDefinition(assist);
    }
    @Override
    public TmBasTestDefinition selectTmBasTestDefinitionByObj(TmBasTestDefinition obj){
        return tmBasTestDefinitionDao.selectTmBasTestDefinitionByObj(obj);
    }
    @Override
    public TmBasTestDefinition selectTmBasTestDefinitionById(Integer id){
        return tmBasTestDefinitionDao.selectTmBasTestDefinitionById(id);
    }
    @Override
    public int insertTmBasTestDefinition(TmBasTestDefinition value){
        return tmBasTestDefinitionDao.insertTmBasTestDefinition(value);
    }
    @Override
    public int insertNonEmptyTmBasTestDefinition(TmBasTestDefinition value){
        return tmBasTestDefinitionDao.insertNonEmptyTmBasTestDefinition(value);
    }
    @Override
    public int insertTmBasTestDefinitionByBatch(List<TmBasTestDefinition> value){
        return tmBasTestDefinitionDao.insertTmBasTestDefinitionByBatch(value);
    }
    @Override
    public int deleteTmBasTestDefinitionById(Integer id){
        return tmBasTestDefinitionDao.deleteTmBasTestDefinitionById(id);
    }
    @Override
    public int deleteTmBasTestDefinition(Assist assist){
        return tmBasTestDefinitionDao.deleteTmBasTestDefinition(assist);
    }
    @Override
    public int updateTmBasTestDefinitionById(TmBasTestDefinition enti){
        return tmBasTestDefinitionDao.updateTmBasTestDefinitionById(enti);
    }
    @Override
    public int updateTmBasTestDefinition(TmBasTestDefinition value, Assist assist){
        return tmBasTestDefinitionDao.updateTmBasTestDefinition(value,assist);
    }
    @Override
    public int updateNonEmptyTmBasTestDefinitionById(TmBasTestDefinition enti){
        return tmBasTestDefinitionDao.updateNonEmptyTmBasTestDefinitionById(enti);
    }
    @Override
    public int updateNonEmptyTmBasTestDefinition(TmBasTestDefinition value, Assist assist){
        return tmBasTestDefinitionDao.updateNonEmptyTmBasTestDefinition(value,assist);
    }

    public TmBasTestDefinitionDao getTmBasTestDefinitionDao() {
        return this.tmBasTestDefinitionDao;
    }

    public void setTmBasTestDefinitionDao(TmBasTestDefinitionDao tmBasTestDefinitionDao) {
        this.tmBasTestDefinitionDao = tmBasTestDefinitionDao;
    }

}